00001 00005 class OtherPhysicalObjects:public PhysicsClient 00006 { 00007 public: 00017 OtherPhysicalObjects(TraffEduObject* object,char second,float third,float fourth,float height=0); 00021 OtherPhysicalObjects(TraffEduObject* object); 00025 ~OtherPhysicalObjects(); 00032 int create( osg::ref_ptr<osg::PositionAttitudeTransform> transform); 00039 double update(double step); 00040 void odeDraw(); 00041 dGeomID getGeomID() {return geomID;} 00045 void setCollusion(); 00046 private: 00047 dGeomID geomID; 00048 dBodyID bodyID; 00049 struct Prism prismGeom; 00050 struct Cylinder cylinderGeom; 00051 string geomType; 00052 osg::ref_ptr<osg::Group> root; 00053 TraffEduObject* object; 00054 00055 };
1.4.6-NO